SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO


CREATE PROCEDURE dbo.DnnProduct_AddSkin
	@SkinPackageID int,
    @SkinSrc nvarchar(200)		
AS
BEGIN
IF NOT EXISTS (
  select 1 from dbo.DnnProduct_Skins S
  where S.SkinPackageID = @SkinPackageID and S.SkinSrc = @SkinSrc
 )
 BEGIN
  INSERT INTO dbo.DnnProduct_Skins (SkinPackageID, SkinSrc)
  VALUES (@SkinPackageID, @SkinSrc)
 END
END
GO
